var HasTouch = 'ontouchstart' in window;
var PageEventType = {
    startEvent: HasTouch ? 'touchstart' : 'mousedown',
    moveEvent: HasTouch ? 'touchmove' : 'mousemove',
    endEvent: HasTouch ? 'touchend' : 'mouseup',
    cancelEvent: HasTouch ? 'touchcancel' : 'mouseup'
}

export  { PageEventType, HasTouch };